<form action="" method="post" id="frm-change-password">
<div>
    <ul class="cls-form-change-password">
        <li>
            <div class="text"><label for="txt-email-account">Nombre:</label></div>
            <div><input  id="" name="" type="text" value="" /></div>
        </li>
         <li>
         <div class="text"><label for="txt-email-account">Apellidos:</label></div>
            <div><input  id="" name="" type="text" value="" /></div>
        </li>
        <li>
            <div class="text"><label for="txt-email-account">Email:</label></div>
            <div><input readonly id="txt-email-account" name="txt-email-account" type="text" value="cesar.quevedo.vega@gmail.com" /></div>
        </li>
        <li>
            <div class="text"><label for="txt-password">Constraseña Actual:</label></div>
            <div><input readonly id="txt-password" name="txt-password" type="password" value="**************************" /></div>
        </li> 
        <li class="cls-botencar-li">
            <div>
                <a class="cls-btn-a cls-btn-a cls-font-btn-a" href="javascript:void(0);" id="btn-change-password"> Cambiar</a>
            </div>
        </li>
    </ul>
</div>
    <input type="hidden" value="<?php echo $destination ?>" name="hd-destination" />
</form>

<script type="text/javascript">
$(document).ready(function(){
	$('input[name="new-password"]').passwordStrength();

        $("#btn-change-password").click(function(){
               if(validate({password:'new-password',repeatPassword:'new-password-repeat'}).success){
                    $('#frm-change-password').attr('action','<?php echo url_for('pages/executeChangePassword') ?>');
                    $('#frm-change-password').submit();
               }else{
                   //efecto
               }
        });
});
</script>


